package com.lbd.loan.controller.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.lbd.base.bean.AbstractEntity;
import com.lbd.loan.bean.Loan;
import lombok.*;
import org.hibernate.annotations.DynamicUpdate;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Entity;
import javax.validation.constraints.Digits;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import java.util.Date;

/**
 * Created by wang on 2016/9/22.
 */
@Getter
@Setter
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class LoanVO extends Loan {

    //借款开始日期
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date startDate;
    //借款结束日期
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endDate;


}
